﻿using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace IFramework
{
    public struct LoomDelayedTask : IDecorativeBox<Action>
    {
        public float time;
        public Action action;
        public LoomDelayedTask(float time, Action action)
        {
            this.time = time;
            this.action = action;
        }

        public Type ObjType
        {
            get
            {
                return typeof(Action);
            }
        }

        public Action Content
        {
            get
            {
                return action;
            }
        }

    }
}
